# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=brillo
pkgver=1.4.10
pkgrel=2
pkgdesc="Control the brightness of backlight and keyboard LED devices"
options="!check"
url="https://gitlab.com/cameronnemo/brillo"
arch="all"
license="0BSD"
makedepends="go-md2man"
checkdepends="valgrind"
subpackages="$pkgname-doc"
source="https://gitlab.com/cameronnemo/brillo/-/archive/v$pkgver/brillo-v$pkgver.tar.gz"
builddir="$srcdir/brillo-v$pkgver"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install install.polkit
}

sha512sums="
7561f2635623237b89f82c5362d2594ba3533e89a296c23a7f1b50ce2577c5fcbd08f4493664a1ed3f88553790c76cba481f8887c3a0488ebc7ebe1fc53a28a7  brillo-v1.4.10.tar.gz
"
